FluentCrm\App\Models\Subscriber D

Total Complexity 132
Dependencies 7
Dependents 28
Total lines 840
Lines of code 539
Logical lines of code 291
Comment lines 122
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
import()
D
32 31 99
updateOrCreate()
B
40 24 56
boot()
S
56 6 19
syncCustomFieldValues()
S
49 5 31
custom_fields()
S
56 5 18
explodeFullName()
S
59 5 14
hasAnyTagId()
S
63 5 11
hasAnyListId()
S
63 5 11
scopeSearchBy()
S
54 4 21
attachLists()
S
55 4 20
attachTags()
S
55 4 20
detachLists()
S
57 4 17
detachTags()
S
57 4 17
store()
S
59 4 15
sendDoubleOptinEmail()
S
64 3 9
mappables()
S
55 1 20
scopeFilterByLists()
S
58 1 16
scopeFilterByNotInLists()
S
58 1 16
scopeFilterByNotInTags()
S
58 1 16
scopeFilterByTags()
S
58 1 16
getPhotoAttribute()
S
71 2 6
scopeFilterByStatues()
S
71 2 6
scopeFilterByContactType()
S
71 2 6
stats()
S
60 1 15
unsubscribeReason()
S
79 1 3
tags()
S
66 1 9
lists()
S
66 1 9
urlMetrics()
S
71 1 6
custom_field_meta()
S
70 1 6
meta()
S
71 1 6
getFullNameAttribute()
S
72 1 5